package com.ly.common.core.bean.vo;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * 字典-vo
 *
 * @author luoyun
 * @Date: 2025/6/08 12:14
 * @Note:
 */
@Data
@ToString
public class DictVO implements Serializable {

    private static final long serialVersionUID = 1L;

    private String value;
    private String text;
    private String color;
    private JSONObject jsonObject;

    private String dictCode;

    public DictVO() {
    }

    public DictVO(String value, String text) {
        this.value = value;
        this.text = text;
    }

    public DictVO(String value, String text, String color) {
        this.value = value;
        this.text = text;
        this.color = color;
    }
}
